package com.kingdee.eas.xbang.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractTermsFactory
{
    private ContractTermsFactory()
    {
    }
    public static com.kingdee.eas.xbang.contract.IContractTerms getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTerms)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6AE595CF") ,com.kingdee.eas.xbang.contract.IContractTerms.class);
    }
    
    public static com.kingdee.eas.xbang.contract.IContractTerms getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTerms)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6AE595CF") ,com.kingdee.eas.xbang.contract.IContractTerms.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.contract.IContractTerms getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTerms)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6AE595CF"));
    }
    public static com.kingdee.eas.xbang.contract.IContractTerms getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.contract.IContractTerms)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6AE595CF"));
    }
}